#ifndef __CACHE_CONFIG_H__
#define __CACHE_CONFIG_H__

/* Allow overriding via compiler -D flags or local edits. */

/* L1 defaults */
#ifndef CACHE_SIZE
#define CACHE_SIZE (64 * 1024)
#endif

#ifndef CACHE_BLOCK_SIZE
#define CACHE_BLOCK_SIZE 64
#endif

#ifndef CACHE_ASSOC
#define CACHE_ASSOC 8
#endif

/* L2 defaults */
#ifndef L2_CACHE_SIZE
#define L2_CACHE_SIZE (4 * 1024 * 1024)
#endif

#ifndef L2_CACHE_BLOCK_SIZE
#define L2_CACHE_BLOCK_SIZE 64
#endif

#ifndef L2_CACHE_ASSOC
#define L2_CACHE_ASSOC 16
#endif

#endif